MORE NBT DOCUMENTATION
Version: 1.3.0

Index

Other Tags
moreNBT
debugLog
damage_tool
throwable
Back to top

Other Item Tags

These tags are used directly inside the items nbt example '/give @p paper{moreNBT:{nbt_format:1}}'


Parameters

Name Type Default Value Description
moreNBT Object This tag is required for all items that use More NBT Tags Datapack. Get the latest format in-game by doing '/function more_nbt:get_current_nbt_format'.
Name Type Description
nbt_format Integer The format of More NBT Datapack Tags.
debugLog Boolean FALSE If true it will give an output log via game chat.
damage_tool Object Will deal damage to the tool when used. Only on minecraft:carrot_on_a_stick
Name Type Description
remove Integer How much damage to remove from the tool
break_sound Boolean Use the break sound then the item has been consumed/broken. (May add more customizeabiliy to this.)
disappears Boolean Make the item disappear/turn into air when broken. (May add more customizeabiliy to this.)
animation (W.I.P) Object Animated customModelData when held.
Name Type Description
looping Boolean Make the animation run year round.
run Integer The amount of times to run the animation. only if looping=false
frametime Integer The speed that it will flip through the models.
frames Integer Array The CustomModelData integer to apply at that frame.
throwable Object Throwable item component. Throwable items, such as a snowball.
Name Type Description
ammunition Object Throwable item component. Throwable items, such as a snowball.
Name Type Description
entity String The item/entity to throw.
physics Boolean If entity is a projectile it will bounce off the wall if true. acts funky with some entities.
nbt Array (Optional) nbt that the entity has.
shooter (W.I.P) Object (Not added) Similar to 'throwable' but acts more like a bow
Name Type Description
max_draw_duration Integer Draw Duration.
max_launch_power Integer Launch power.
ammunition Object Throwable item component. Throwable items, such as a arrow.
Name Type Description
entity String The item/entity to throw.
nbt Array (Optional) nbt that the entity has.
Inventory (W.I.P) Object Inventory to store items or make a custom GUI. EXPERIMENTAL!
Name Type Description
can_be_siphoned_from Boolean Can hoppers suck items out of this inventory.
inventory_size Integer (Not Functional) How many slots the inventory will have. default: 26
inventory_name RAW JSON The text to display inside the container/inventory. Excepts Raw JSON.
inventory_layout Enum Array (Not Functional) How to layout the slots. Valid Strings: "inline","center=top","center=bottom","center=middle"
inventory_type Enum The preset inventory to use. Valid Strings: "chest","hopper"
display_block Object Display a diffrent block inside the minecart.
Name Type Description
Name String The name and id of the block
BlockStates object If the block has optional blockstates you can place them here.
auto_save String Where to save the containers items to.
Name Type Description
storage Enum storage="item" it will save the containers items onto the selecteditem.
save_fillers Boolean (Not Functional) When false it will attemt to not save the UI items.
visable Boolean Show the items via lore when the container isnt open, like shulker boxes.
filter Object (Not Functional) white/blacklisted items that are allowed in the slots.
Name Type Description
whitelist String Array Items that are allowed.
blacklist String Array Items that are not allowed.
new_ui (W.I.P) Object (Not Functional) custom ui to add buttons, toggles, viewers, etc. all below tags must be contained inside their own object. for referanceing diffrent UI's. (This looks a bit messy atm, may move it to its own doc.)
Name Type Description
button Object A item inside the Inventory that will do stuff when you click on it.
Name Type Description
type String Valid Strings: "toggle","button"
pos Integer Where to place the button.
size Integer The size of the button.
button_use Object Functions of the button. true will run when the button is pressed or when toggle is true. false is the oppisite.
filler Object Array Places a fake item that looks like the background.
Name Type Description
all_empty Object Will fill all the empty slots. You can use a preset item. or define your own.
Name Type Description
item String Item's id that will be placed in all the empty slots
nbt Object (Optional) The nbt to apply to this item.
preset_ui_item Empty Object Will use the preset ui item thats built-in.
create_block (W.I.P) Object (Not added) This will place a custom block. Only works for minecraft:armor_stand
Name Type Description
material String The minecraft block to use. This will be overridden if custom_ui has been selected
drops_self Boolean Will give you the same item back
CustomModelData Integer (Optional) Alternate CustomModelData for the block item.
custom_ui Object (Not Functional) custom ui to add buttons, toggles, viewers, etc
Name Type Description
button Object A item inside the Inventory that will do stuff when you click on it.
Name Type Description
type String Valid Strings: "toggle","button"
Slot Integer Where to place the button.
use ? ?
filler Object Array Places a fake item that looks like the background.
Back to top